package com.longrise.android.byjk.plugins.productfeerate;

import android.content.Context;
import android.net.Uri;

import com.longrise.common.base.BasePresenter;
import com.longrise.common.base.BaseView;
import com.lzy.imagepicker.bean.ImageItem;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by callxkj on 2017/6/1.
 * 产品费率文件上传
 */

public interface UploadProductfeerateContract {

    interface View extends BaseView {
        void showImages(List<String> list);

        void showFile(String filepath);

        void resetImageItemList(ArrayList<ImageItem> list);
    }

    abstract class Presenter extends BasePresenter<View> {
        abstract void selectFile(Context context, Uri uri);

        abstract void selectGalleryPic(ArrayList<ImageItem> list);

        abstract void deletePic(String path);
    }
}
